pp108 : deleteFiles (FTP)

deleteFiles (FTP)


This Web service operation is used to delete a file or set of files in specified directories on the FTP server.

SOAP Request
<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
    <SOAP:Body>
        <deleteFiles xmlns="http://schemas.cordys.com/ftpconnector/1.1">
            <configuration>ftpserver</configuration>
            <files>
                <path>/readme.txt</path>
                <path>/Legal/legal.txt</path>
                <path>/Development/license.txt</path>
            </files>
        </deleteFiles>
    </SOAP:Body>
</SOAP:Envelope>

Request Parameters

Parameters Description
configuration Name of the Configuration Profile that contains the FTP server details.
files The path of the files to be deleted.
path The path of a file or directory on the FTP server.


SOAP Response
<deleteFilesResponse xmlns="http://schemas.cordys.com/ftpconnector/1.1" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
    <configuration xmlns="http://schemas.cordys.com/ftpconnector/1.1" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">ftpserver</configuration>
    <files xmlns="http://schemas.cordys.com/ftpconnector/1.1" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
        <path>/readme.txt
        <statuscode>250</statuscode>
            <status>DELE command successful.</status>
        </path>
        <path>/Legal/legal.txt
        <statuscode>250</statuscode>
            <status>DELE command successful.</status>
        </path>
        <path>/Development/license.txt
        <statuscode>250</statuscode>
            <status>DELE command successful.</status>
        </path>
    </files>
</deleteFilesResponse>